/*
 * Created on 02/05/2008
 */

package com.apbetioli.mapr.place.dao;

/**
 *
 * @author Alexandre Parra Betioli
 */
public class PlacesDaoFactory {

    public static PlacesDaoInterface getInstance( final boolean useTransactions ) {
        if( useTransactions )
            return new PlacesDao();
        else
            return new PlacesDaoNoTransaction();
    }
    
}
